﻿using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;

namespace KZ.Express.DAL
{
    public class ZoneDetailDAL : DataAccessBase
    {
        /// <summary>
        /// Get number of type zone
        /// </summary>
        /// <param name="zoneID"></param>
        /// <returns></returns>
        public DataTable SelectNumberOfType(int zoneID)
        {
            List<SqlParameter> parameters = new List<SqlParameter>();
            parameters.Add(new SqlParameter("ZoneID", zoneID));

            return _helper.ExecuteQuery("proc_ZoneDetail_SelectType", parameters.ToArray());
        }
    }
}